package com.indexingsystem.system.task;

import com.indexingsystem.system.service.IDataSynchronizationCallback;

public class DataSynchronization {
	private IDataSynchronizationCallback callback;
	public void setCallback(IDataSynchronizationCallback callback){
	        this.callback=callback;
	}

	public void doTask(String data){
		   this.callback.DataSynchronization(data);
	}
}
